from datetime import datetime

from src.baseapp.model import db, CustomDbModel


class ProjectUserMappingModel(CustomDbModel):
    # 项目成员映射表
    __tablename__ = 'project_user_mapping'

    # 自增
    project_user_mapping_id = db.Column(db.Integer, primary_key=True, unique=True, autoincrement=True)

    # 项目id
    project_id = db.Column(db.Integer, nullable=False)

    # 用户id
    user_id = db.Column(db.Integer, nullable=False)
